package com.flex.mobile.dao.model;

public class TaxiTimer {
   public static final String TYPE_ONCE = "0";

   public static final String TYPE_CYCLE = "1";

   public static final String STAT_ACTIVE = "1";

   public static final String STAT_SUSPEND = "2";

   public static final String STAT_ENDED = "3";

   long timerID;

   String timerName;

   String timerType; // ONCE|CYCLE

   String timerKind; // CLEAR|ORDER

   String objectID;

   String parameter;

   String currentState;

   long registeTime;

   long firstTriggeTime;

   long cycleTimes;

   long nextTriggeTime;

   long leftCycleTimes;

   long cycleInterval;

   String regTimeDesc; // string retisteTime

   String trigTimeDesc; // string triggerTime

   public String toString() {
      String ret = "";
      ret = ret + "timerID=" + timerID;
      ret = ret + "timerType" + timerType;
      return ret;
   }

   public String getCurrentState() {
      return currentState;
   }

   public void setCurrentState(String currentState) {
      this.currentState = currentState;
   }

   public long getCycleInterval() {
      return cycleInterval;
   }

   public void setCycleInterval(long cycleInterval) {
      this.cycleInterval = cycleInterval;
   }

   public long getCycleTimes() {
      return cycleTimes;
   }

   public void setCycleTimes(long cycleTimes) {
      this.cycleTimes = cycleTimes;
   }

   public long getFirstTriggeTime() {
      return firstTriggeTime;
   }

   public void setFirstTriggeTime(long firstTriggeTime) {
      this.firstTriggeTime = firstTriggeTime;
   }

   public long getLeftCycleTimes() {
      return leftCycleTimes;
   }

   public void setLeftCycleTimes(long leftCycleTimes) {
      this.leftCycleTimes = leftCycleTimes;
   }

   public long getNextTriggeTime() {
      return nextTriggeTime;
   }

   public void setNextTriggeTime(long nextTriggeTime) {
      this.nextTriggeTime = nextTriggeTime;
   }

   public String getObjectID() {
      return objectID;
   }

   public void setObjectID(String objectID) {
      this.objectID = objectID;
   }

   public String getParameter() {
      return parameter;
   }

   public void setParameter(String parameter) {
      this.parameter = parameter;
   }

   public long getRegisteTime() {
      return registeTime;
   }

   public void setRegisteTime(long registeTime) {
      this.registeTime = registeTime;
   }

   public String getRegTimeDesc() {
      return regTimeDesc;
   }

   public void setRegTimeDesc(String regTimeDesc) {
      this.regTimeDesc = regTimeDesc;
   }

   public long getTimerID() {
      return timerID;
   }

   public void setTimerID(long timerID) {
      this.timerID = timerID;
   }

   public String getTimerKind() {
      return timerKind;
   }

   public void setTimerKind(String timerKind) {
      this.timerKind = timerKind;
   }

   public String getTimerName() {
      return timerName;
   }

   public void setTimerName(String timerName) {
      this.timerName = timerName;
   }

   public String getTimerType() {
      return timerType;
   }

   public void setTimerType(String timerType) {
      this.timerType = timerType;
   }

   public String getTrigTimeDesc() {
      return trigTimeDesc;
   }

   public void setTrigTimeDesc(String trigTimeDesc) {
      this.trigTimeDesc = trigTimeDesc;
   }

   public String getTableName() {
      return "WFTimer";
   }

   public Object getKeyValue() {
      return new Long(getTimerID());
   }
}
